package com.educate.member.dao;

import com.educate.member.dao.impl.FamilyDaoImpl;
import com.educate.device.model.bo.FamilyBO;
import com.educate.device.model.po.Family;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface FamilyDao extends MongoRepository<Family, String> {

    /**
     * #{@link FamilyDaoImpl#query(FamilyBO, Pageable)}
     */
    Page<Family> query(FamilyBO bo, Pageable pageable);
}
